using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN IThietBiKhuNhaServiceBase****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:08/10/2010 00:09:08</para>
	/// <para>Class Name: IThietBiKhuNhaServiceBase</para>
	/// <para>Description: </para>
	///</summary>

	[ServiceContract]
	public partial  interface IThietBiKhuNhaService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: ThietBiKhuNha_ID</para>
		/// <para>Output: ThietBiKhuNhaEntity</para>
		///</summary>
		[OperationContract]
		ThietBiKhuNhaEntity SelectOne(int ThietBiKhuNha_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of ThietBiKhuNhaEntity</para>
		///</summary>
		[OperationContract]
		List<ThietBiKhuNhaEntity> SelectAll();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDS();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of ThietBiKhuNhaEntity</para>
		///</summary>
		[OperationContract]
		List<ThietBiKhuNhaEntity> SelectAllFilter(string strFilter);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSFilter(string strFilter);
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: Save</para>
		/// <para>Input: ThietBiKhuNhaEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Save(ThietBiKhuNhaEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: SaveRet</para>
		/// <para>Input: ThietBiKhuNhaEntity</para>
		/// <para>Output: return entity if succeeded else return null</para>
		///</summary>
		[OperationContract]
		ThietBiKhuNhaEntity SaveRet(ThietBiKhuNhaEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of ThietBiKhuNhaEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void SaveList(List<ThietBiKhuNhaEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of ThietBiKhuNhaEntity</para>
		/// <para>Output: return list of entities if succeeded else return null list</para>
		///</summary>
		[OperationContract]
		List<ThietBiKhuNhaEntity> SaveListRet(List<ThietBiKhuNhaEntity> list);
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: Update</para>
		/// <para>Input: ThietBiKhuNhaEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Update(ThietBiKhuNhaEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of ThietBiKhuNhaEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void UpdateList(List<ThietBiKhuNhaEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: UpdateKhuNha_ID</para>
		/// <para>Input: NewKhuNha_ID,ThietBiKhuNha_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateKhuNha_ID(int NewKhuNha_ID,int ThietBiKhuNha_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: UpdateLoaiThietBi_ID</para>
		/// <para>Input: NewLoaiThietBi_ID,ThietBiKhuNha_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateLoaiThietBi_ID(int NewLoaiThietBi_ID,int ThietBiKhuNha_ID);
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: Delete</para>
		/// <para>Input: ThietBiKhuNhaEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Delete(ThietBiKhuNhaEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: ThietBiKhuNha_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool DeleteByID(int ThietBiKhuNha_ID);
		#endregion

		#region Select join to KhuNhaLoaiThietBi functions
		#endregion

		#region Select join to KhuNha functions
		#endregion

		#region Select join to LoaiThietBi functions
		#endregion

		#region Select,delete by ThietBiKhuNha_ID functions
		#endregion

		#region Select,delete by KhuNha_ID functions
		#endregion

		#region Select,delete by LoaiThietBi_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END ThietBiKhuNhaWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

